package sanrenxing.dayEnd.backRepertoryTotal.domain;

import java.io.Serializable;

/**
 * 功能：现金应收应付库存的实体类
 * 作者：赵思睿
 * 日期：2021/3/17 0017-8:42
 * 版本：1.0
 */
public class CashRecAndPayStock implements Serializable {
    //现金应收应付库存编号
    private String crapId;
    //现金账户编号
    private Integer caId;
    //业务类型
    private String businType;
    //基金编号
    private String fundId;
    //业务日期
    private String dates;
    //总金额
    private double sumMoney;
    //业务状态
    private int status;
    //基金数量
    private Long numbers;

    /**
     * 默认构造方法
     */
    public CashRecAndPayStock() {
    }

    public CashRecAndPayStock(String crapId, Integer caId, String businType, String fundId, String dates, double sumMoney, int status, Long numbers) {
        this.crapId = crapId;
        this.caId = caId;
        this.businType = businType;
        this.fundId = fundId;
        this.dates = dates;
        this.sumMoney = sumMoney;
        this.status = status;
        this.numbers = numbers;
    }




    //自动生成的setter/getter方法
    public String getCrapId() {
        return crapId;
    }

    public void setCrapId(String crapId) {
        this.crapId = crapId;
    }

    public Integer getCaId() {
        return caId;
    }

    public void setCaId(Integer caId) {
        this.caId = caId;
    }

    public String getBusinType() {
        return businType;
    }

    public void setBusinType(String businType) {
        if(businType.trim().equals("")){
            this.businType=null;
        }else this.businType = businType;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getDates() {
        return dates;
    }

    public void setDates(String dates) {
        if(dates.trim().equals("")){
            this.dates=null;
        }else this.dates = dates;
    }

    public double getSumMoney() {
        return sumMoney;
    }

    public void setSumMoney(double sumMoney) {
        this.sumMoney = sumMoney;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Long getNumbers() {
        return numbers;
    }

    public void setNumbers(Long numbers) {
        this.numbers = numbers;
    }
}
